#pragma once

#include "Object.h"

#define NPC_SPEED_JUMP	( GRAVITY * 3 / 2 )

#define NPC_LIMIT_JUMP 170.0f

class NPC : public Object{
private:
	void Idle(void);

	CCountdownTimer countdownTimer;

	bool idleTime, saveDir;
	Vector3D oldDir;

	int rndNum;
	int moveStart, moveEnd;
public:
	NPC(void);
	~NPC(void);

	void JumpNPC(float elapsed);
	void WallHit(float elapsed);
	void InitMoveAnimation(int start, int end);
	bool UpdateObject(Vector3D offset, float elapsed);
};